Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Fix CI for TruffleRuby #321

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 27, 2023
Merged

Conversation

eregon
Copy link
Contributor

@eregon eregon commented Feb 27, 2023

Example failure:
https://github.com/ruby-syntax-tree/syntax_tree/actions/runs/4276174338/jobs/7444068581

$ bundle exec rake test
Coverage report generated for Unit Tests to /home/runner/work/syntax_tree/syntax_tree/coverage. 5963 / 14181 LOC (42.05%) covered.
Stopped processing SimpleCov as a previous error not related to SimpleCov has been detected
/home/runner/work/syntax_tree/syntax_tree/lib/syntax_tree/reflection.rb:179:in `<module:Reflection>': undefined method `statements' for nil:NilClass (NoMethodError)
	from /home/runner/work/syntax_tree/syntax_tree/lib/syntax_tree/reflection.rb:7:in `<module:SyntaxTree>'
	from /home/runner/work/syntax_tree/syntax_tree/lib/syntax_tree/reflection.rb:3:in `<top (required)>'
	from <internal:core> core/kernel.rb:234:in `gem_original_require'
	from /home/runner/work/syntax_tree/syntax_tree/test/test_helper.rb:17:in `<top (required)>'
	from <internal:core> core/kernel.rb:293:in `require_relative'
	from /home/runner/work/syntax_tree/syntax_tree/test/cli_test.rb:3:in `<top (required)>'
	from <internal:core> core/kernel.rb:234:in `gem_original_require'
	from /home/runner/work/syntax_tree/syntax_tree/vendor/bundle/truffleruby/3.1.3.3/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:21:in `block in <main>'
	from /home/runner/work/syntax_tree/syntax_tree/vendor/bundle/truffleruby/3.1.3.3/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:6:in `select'
	from /home/runner/work/syntax_tree/syntax_tree/vendor/bundle/truffleruby/3.1.3.3/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:6:in `<main>'
rake aborted!

* It fails transiently and Ripper does not seem to provide any way to
  investigate the actual error/exception.
@eregon eregon force-pushed the fix-truffleruby-ci branch from dd158dd to d3410ff Compare February 27, 2023 13:11
@kddnewton kddnewton merged commit adde5da into ruby-syntax-tree:main Feb 27, 2023
@eregon eregon deleted the fix-truffleruby-ci branch March 5, 2023 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants